﻿// using Admin.CommonLib.Models.Job;
// using Swimj.CommonLib.Base;
// using Swimj.Core.DependencyInjection;
//
// namespace Admin.ApplicationLib.Services
// {
//     public interface IJobService : IScopedDependency
//     {
//         Task<PaginatedResult<JobDetailInfoResponseDto>> QueryJobsByPageAsync(JobDetailSearchRequestDto model);
//
//         Task<Result<IList<JobDetailInfoResponseDto>>> QueryJobsAsync(JobDetailSearchRequestDto model);
//
//         Task<Result<JobDetailInfoResponseDto>> GetJobAsync(string jobName, string jobGroup);
//
//         Task<Result<JobDetailInfoResponseDto>> CreateJobAsync(JobDetailEditRequestDto model);
//
//         Task<Result<JobDetailInfoResponseDto>> UpdateJobAsync(Guid id, JobDetailEditRequestDto model);
//
//         Task StartJobAsync(string jobName, string groupName);
//
//         Task StopJobAsync(Guid id);
//     }
// }